package top.lilele.adminSystem.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.lilele.adminSystem.dto.StatisticsDailyDto;
import top.lilele.adminSystem.entity.AdminDailyEntity;
import top.lilele.adminSystem.vo.StatisticsDailyVo;

import java.util.List;

/**
 * @author lilele
 */
@Mapper
public interface AdminDailyMapper extends BaseMapper<AdminDailyEntity> {
    /**
     * 查询日报列表
     *
     * @param queryWrapper
     * @return
     */
    List<Object> queryDailyList(@Param(Constants.WRAPPER) QueryWrapper queryWrapper);

    /**
     * 统计日报信息
     *
     * @param statisticsDailyDto
     * @return
     */
    List<StatisticsDailyVo> queryStatisticsDailyList(@Param("statisticsDailyDto") StatisticsDailyDto statisticsDailyDto);
}
